import React, { Component } from 'react'
import {Outlet} from 'react-router-dom';
import Header from '../layout/Header';
import Slider from '../layout/Slider';

class Main extends Component {
  render() {
    return (
        <div className='app'>
        <div className='m-slide'>
              <Slider/>     
        </div>
        <div className='m-content'>
              <Header/>
              <Outlet/>
        </div>
    </div>
    )
  }
}

export default Main;